//
//  DeviceInformation.h
//  加密
//
//  Created by iOS Developer 2 on 13/01/15.
//  Copyright © 2015年 欢欢大帅哥. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <sys/utsname.h>

enum {
    MODEL_UNKNOWN,
    MODEL_IPHONE_SIMULATOR,
    MODEL_IPOD_TOUCH,
    MODEL_IPOD_TOUCH_2G,
    MODEL_IPOD_TOUCH_3G,
    MODEL_IPOD_TOUCH_4G,
    MODEL_IPHONE,
    MODEL_IPHONE_3G,
    MODEL_IPHONE_3GS,
    MODEL_IPHONE_4G,
    MODEL_IPAD
};
@interface DeviceInformation : NSObject

+ (uint) detectDevice;
+ (NSString*) detectModel;
+ (NSString *)platform;
+ (NSString *) returnDeviceName:(BOOL)ignoreSimulator;
+ (BOOL) isIPodTouch;
+ (BOOL) isOS4;
+ (BOOL) canSendSms;
@end
